Used to perform exponentiation.
Notes
Syntax
result=expression1^expression2
Part | Type | Description |
|---|---|---|
result |
Number |
The result of raising expression1 to the power of expression2. |
expression1 |
Number |
Any numeric expression. |
expression2 |
Number |
Any numeric expression. |
The ^ operator's precedence is higher than negation but lower than IsA or the dot operator.
Use the Operator_Power function to define the ^ operator for classes.
Examples
These examples illustrate the usage of the ^ operator.
See Also
* operator, Operator_Power function.